package com.naiterui.ehp.bs.b2c.order.service;

import com.naiterui.ehp.bp.bo.b2c.order.ReturnOrderItemBO;
import com.naiterui.ehp.bp.support.exception.BusinessException;

import java.util.List;

/**
 * @Description 退换货明细业务接口
 * @Author gongbaoqiang
 * @Date 2019/09/29 3:51 PM
 */
public interface IReturnOrderItemService {

    /**
     * <pre>
     *     新增明细
     * </pre>
     * @param list 明细集合
     * @param type 订单类型
     * @throws BusinessException
     */
    void addList(List<ReturnOrderItemBO> list, String businessNo, String orderSn, String operator) throws BusinessException;

    /**
     * <pre>
     *     根据业务单号删除明细
     * </pre>
     * @param businessNo
     * @throws BusinessException
     */
    void delByBusinessNo(String businessNo) throws BusinessException;

}
